package net.office.service;


import net.office.bean.StaffLeave;

import java.util.List;

public interface StaffLeaveService {
    List<StaffLeave> findAll();

    int deleteByPrimaryKey(Integer staffLeaveId);

    List<StaffLeave> findByStaffLeave(StaffLeave staffLeave);

    int insert(StaffLeave staffLeave);

    StaffLeave findOneByStaffLeaveId(Integer staffLeaveId);

    int updateByPrimaryKey(StaffLeave staffLeave);

    int updateByPrimaryKeySelective(StaffLeave staffLeave);

    List<StaffLeave> findAllByStaffId(int staffId);
}
